package waal.pc.frontend.tiles;


import waal.pc.backend.channels.Channel;

public abstract class ChannelTile extends Tile {

	private static final long serialVersionUID = 8924134239855865942L;

	public ChannelTile(String name) {
		super(name);
	}

	public abstract ChannelTile getTile(Channel channel);
	
	public boolean moduleTile() {
		return false;
	}
	
	public abstract ChannelTile clone();

	protected void initTile(Channel channel) {
		this.initTile(channel.getID(), channel.getModule().getHub());
	}
}
